partial derivatives patrickjmt